main()
{
  int i;
  int sum;

  /* test assign */
  sum = 0;
  
  /* test while statement */
  in(i);
  while(i <= 100)
  {
      sum = sum + i;
      i = i + 1;
  }
  out(sum);  /* The result is 5050 */
}
